package com.ucombuy.search.mysql.dto;

import com.ucombuy.search.mysql.constant.OpType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * Created by yaosheng on 2021/4/4.
 * 增量数据投递对象（MySql RowData）
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MySqlRowData {

    private String tableName;

    private String level;

    private OpType opType;

    private List<Map<String, String>> fieldValueMap = new ArrayList<> ();
}
